package com.xw.Mail.Model;

import java.io.Serializable;

import javax.mail.MessagingException;
import javax.mail.internet.MimeMessage;

/**
 * 继承MimeMessage对象，加入发送失败属性
 * @author YangJianquan
 */
public class MailMessage extends MimeMessage implements Serializable{
	
	private static final long serialVersionUID = 3008195641270230344L;
	
	private String id;		//邮件id
	
	public MailMessage(MimeMessage source) throws MessagingException {
		super(source);
	}
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}
	
}
